1
Apache web server detection
HTTP
2003/11/06
Marc Ruef
marc dot ruef at computec dot ch
http://www.computec.ch
computec.ch
Marc Ruef
marc dot ruef at computec dot ch
http://www.computec.ch
computec.ch
2004/11/13
2.0
Title and filename changed and added Symantec rating in version 1.4. Corrected the plugin structure and added the accuracy values in 1.5. Improved the pattern and added the changelog in 2.0
tcp
80
open|send HEAD / HTTP/1.0\n\n|sleep|close|pattern_exists HTTP/1.[0-1] ### *Server: Apache*
90
The banner in the http server head looks usually like "Server: Apache/#.*.*". But it may be possible to hide the Apache server version.
Apache Software Foundation
apache at apache dot org
http://httpd.apache.org
Apache web servers
All other web server implementations
Configuration
An attacker who is able to get a direct connection to the port can identify the banner of this web server as Apache. By this knowledge further enumerations and attacks are possible.
A service if not needed should be de-installed or disabled. If this is not possible, an access control list (ACL) with firewalling should be applied to this port. And if possible change the welcome banner to confuse an attacker and give him false information.
1 hour
Yes
Yes
Yes
Low
9
8
5
4
39
Most CGI scanners (e.g. N-Stealth, Whisker, Nikto) and security scanners (e.g. Nessus) are able to detect the used web server.
Hacking Exposed: Network Security Secrets & Solutions, Stuart McClure, Joel Scambray and George Kurtz, February 25, 2003, 4th Edition, McGraw-Hill Osborne Media, ISBN 0072227427
http://www.computec.ch